<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of categories
 *
 * @author HIEN JENNY
 */
class Admin_Model_Categories extends Libs_Model {
    public function getCate(){
        $sql = "SELECT * FROM categories";
        return $this->db->fetchAll($sql);
    }
    public function getCateSmall(){
        $sql= "SELECT * FROM categories_small";
        return $this->db->fetchAll($sql);
    }
}

?>
